package edu.nwpu.zya.coreops.modules.alert.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.nwpu.zya.coreops.common.utils.PageUtils;
import edu.nwpu.zya.coreops.modules.alert.entity.HistoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zhouyuang
 * @email 742025491@qq.com
 * @date 2022-04-27 21:26:24
 */
public interface HistoryService extends IService<HistoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<HistoryEntity> getHistoryByInstanceId(String instanceId);

    List<HistoryEntity> getHistoryByRuleId(Long ruleId);

    List<HistoryEntity> getHistoryByUserId(Long userId);
}

